﻿using Grishko.DataTier;
using System.Web.UI.WebControls;

namespace Grishko.DataTier
{
    // строка справочника
   public  class DictionaryItem: TreeEntitySingle  
    {
        private  object _Value= null;
        public virtual object Value { get { return _Value; } set { _Value = value; } }

        private string _ParamID = null;
        public virtual string ParamID { get { return _ParamID; } set { _ParamID = value; } }

        public ListItem ToListItem()
        { 
            ListItem r= new ListItem (){Text =Value .ToString (),Value =ParamID};
            return r;
        }
       
    }
}
